\hypertarget{classTuna_1_1PressureCorrection}{
\subsection{Tuna::PressureCorrection$<$ Tscheme $>$ Class Template Reference}
\label{classTuna_1_1PressureCorrection}\index{Tuna::PressureCorrection@{Tuna::PressureCorrection}}
}


This class derives from \hyperlink{classTuna_1_1GeneralEquation}{GeneralEquation} through B \& N trick.  


Inheritance diagram for Tuna::PressureCorrection$<$ Tscheme $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classTuna_1_1PressureCorrection}
\end{center}
\end{figure}
\subsubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef Typeinfo$<$ Tscheme $>$::\hyperlink{classTuna_1_1PressureCorrection_a87ec986ffd769cebe68fd7523f30a302}{prec\_\-t} \hyperlink{classTuna_1_1PressureCorrection_a87ec986ffd769cebe68fd7523f30a302}{prec\_\-t}
\begin{DoxyCompactList}\small\item\em Precision used for the numerical operations. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classTuna_1_1PressureCorrection_a3896f32740e3615a02b40d8cd915194c}{PressureCorrection} (ScalarField \&phi\_\-global, DiagMat \&matrix, ScalarField \&b, const floatTinyArray\_\-t \&deltas)
\begin{DoxyCompactList}\small\item\em Main constructor. \end{DoxyCompactList}\item 
Tscheme \& \hyperlink{classTuna_1_1PressureCorrection_ae272c45f4ddcd2036b3d186f2f83875b}{asDerived} ()
\begin{DoxyCompactList}\small\item\em The Curiously Recursive Template Pattern (CRTP) is used. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1PressureCorrection_a1d04236bdd57547bd0a1b3e5b655611d}{
bool \hyperlink{classTuna_1_1PressureCorrection_a1d04236bdd57547bd0a1b3e5b655611d}{calcCoefficients} ()}
\label{classTuna_1_1PressureCorrection_a1d04236bdd57547bd0a1b3e5b655611d}

\begin{DoxyCompactList}\small\item\em Call to the functions defined in the derived classes. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
\subsubsection*{template$<$typename Tscheme$>$class Tuna::PressureCorrection$<$ Tscheme $>$}

In this class some particular variables and methods for scalar PDE's are defined. This equations accounts for the pressure correction used in SIMPLE-\/like methods for decoupling the N-\/S equations.

\begin{DoxyAuthor}{Author}
Luis M. de la Cruz \mbox{[} Thu May 7 13:55:49 CDT 2009 \mbox{]} 
\end{DoxyAuthor}


Definition at line 46 of file PressureCorrection.hpp.



\subsubsection{Member Typedef Documentation}
\hypertarget{classTuna_1_1PressureCorrection_a87ec986ffd769cebe68fd7523f30a302}{
\index{Tuna::PressureCorrection@{Tuna::PressureCorrection}!prec\_\-t@{prec\_\-t}}
\index{prec\_\-t@{prec\_\-t}!Tuna::PressureCorrection@{Tuna::PressureCorrection}}
\paragraph[{prec\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tscheme $>$ typedef Typeinfo$<$Tscheme$>$::{\bf prec\_\-t} {\bf Tuna::PressureCorrection}$<$ Tscheme $>$::{\bf prec\_\-t}}}
\label{classTuna_1_1PressureCorrection_a87ec986ffd769cebe68fd7523f30a302}


Reimplemented from \hyperlink{classTuna_1_1GeneralEquation_a39e7293ae9e10a2fc90f422da1d28ecd}{Tuna::GeneralEquation$<$ PressureCorrection$<$ Tscheme $>$ $>$}.



Definition at line 51 of file PressureCorrection.hpp.



\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{classTuna_1_1PressureCorrection_a3896f32740e3615a02b40d8cd915194c}{
\index{Tuna::PressureCorrection@{Tuna::PressureCorrection}!PressureCorrection@{PressureCorrection}}
\index{PressureCorrection@{PressureCorrection}!Tuna::PressureCorrection@{Tuna::PressureCorrection}}
\paragraph[{PressureCorrection}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tscheme $>$ {\bf Tuna::PressureCorrection}$<$ Tscheme $>$::{\bf PressureCorrection} (
\begin{DoxyParamCaption}
\item[{ScalarField \&}]{phi\_\-global, }
\item[{DiagMat \&}]{matrix, }
\item[{ScalarField \&}]{b, }
\item[{const floatTinyArray\_\-t \&}]{deltas}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1PressureCorrection_a3896f32740e3615a02b40d8cd915194c}
The scalarfield {\ttfamily phi\_\-global} is a reference to a global field variable. In this case represents the pressure 

Definition at line 64 of file PressureCorrection.hpp.



\subsubsection{Member Function Documentation}
\hypertarget{classTuna_1_1PressureCorrection_ae272c45f4ddcd2036b3d186f2f83875b}{
\index{Tuna::PressureCorrection@{Tuna::PressureCorrection}!asDerived@{asDerived}}
\index{asDerived@{asDerived}!Tuna::PressureCorrection@{Tuna::PressureCorrection}}
\paragraph[{asDerived}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tscheme $>$ Tscheme\& {\bf Tuna::PressureCorrection}$<$ Tscheme $>$::asDerived (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1PressureCorrection_ae272c45f4ddcd2036b3d186f2f83875b}
\hyperlink{classTuna_1_1PressureCorrection_ae272c45f4ddcd2036b3d186f2f83875b}{asDerived()} gets an returns a reference to the derived class. 

Reimplemented from \hyperlink{classTuna_1_1GeneralEquation_aac63dc10324dcfdd7aaabdc63ec0c67f}{Tuna::GeneralEquation$<$ PressureCorrection$<$ Tscheme $>$ $>$}.



Definition at line 78 of file PressureCorrection.hpp.

